package com.ny.mapper;
import com.ny.entity.Users;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;


public interface UserMapper {
    @Select("SELECT * FROM  users WHERE username = #{username} AND password = #{password}")
    Users findUserByUsernameAndPassword(@Param("username")String username,@Param("username") String password2);

}

